﻿using System;

namespace OperationPlugins.Models
{
    /// <summary>
    /// These attributes are invoked just before the property value is changing.
    /// </summary>
    [AttributeUsage(AttributeTargets.Property, AllowMultiple = true, Inherited = true)]
    public abstract class PropertyChangingAttribute : Attribute
    {
        public abstract bool PropertyChanging(object model, PropertyValue newValue, PropertyValue oldValue);
    }
}
